package top.suven.base.http.admin.sec.service;

import top.suven.base.core.mybatis.PageData;
import top.suven.base.http.admin.sec.model.AdminRole;
import top.suven.base.http.admin.sec.vo.response.AdminRoleResponseVo;

import java.util.List;

/**
 * @Title: AdminRoleService.java
 * @Description: 操作员角色关系的业务处理服务类
 * @author lixiangling
 * @date   2018/08/13 17:07:07
 * @version  V1.0.0
 * ----------------------------------------------------------------------------
 *  modifyer    modifyTime                 comment
 *
 * ----------------------------------------------------------------------------
 *
 */
public interface AdminRoleService {
    /**
     * @Title: 获取操作员角色关系分页信息
     * @Description:
     * @param adminRole @{Link AdminRole}
     * @return
     * @throw
     * @author lixiangling
     * @date 2018/08/13 17:07:07
     *  --------------------------------------------------------
     *  modifyer    modifyTime                 comment
     *
     *  --------------------------------------------------------
     */
    public PageData<AdminRoleResponseVo> getAdminRolePage(AdminRole adminRole, int start, int pageSize);
   /**
    * @Title: 获取操作员角色关系列表信息
    * @Description:
    * @param adminRole @{Link AdminRole}
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/13 17:07:07
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public List<AdminRole> getAdminRoleList(AdminRole adminRole);
    /**
     * @Title: 新增操作员角色关系信息
     * @Description:
     * @param adminRole @{Link AdminRole}
     * @return
     * @throw
     * @author lixiangling
     * @date 2018/08/13 17:07:07
     *  --------------------------------------------------------
     *  modifyer    modifyTime                 comment
     *
     *  --------------------------------------------------------
     */
    public void addAdminRole(AdminRole adminRole);
    /**
    * @Title: 修改操作员角色关系信息
    * @Description:
    * @param adminRole @{Link AdminRole}
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/13 17:07:07
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public void updAdminRole(AdminRole adminRole);
   /**
    * @Title: 获取操作员角色关系信息
    * @Description:
    * @param id @{Link Long}
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/13 17:07:07
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public AdminRole getAdminRole(Long id);
    /**
     * @Title: 删除操作员角色关系信息
     * @Description:id @{Link Long[]}
     * @param
     * @return
     * @throw
     * @author lixiangling
     * @date 2018/08/13 17:07:07
     *  --------------------------------------------------------
     *  modifyer    modifyTime                 comment
     *
     *  --------------------------------------------------------
     */
    public void del(Long[] ids);
   /**
    * @Title: 启用操作员角色关系信息
    * @Description:id @{Link Long[]}
    * @param
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/13 17:07:07
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public void turnOn(Long[] ids);
   /**
    * @Title: 禁用操作员角色关系信息
    * @Description:id @{Link Long[]}
    * @param
    * @return
    * @throw
    * @author lixiangling
    * @date 2018/08/13 17:07:07
    *  --------------------------------------------------------
    *  modifyer    modifyTime                 comment
    *
    *  --------------------------------------------------------
    */
    public void turnOff(Long[] ids);
}